<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name="keywords" content="{dede:field name='keywords'/}" />
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
<LINK href="/skin/css/css.css" rel=stylesheet>
<LINK href="/skin/css/jbox.css" rel=stylesheet>
<script language="JavaScript" type="text/javascript" src="/skin/js/jquery.js"></script>
<script language="JavaScript" type="text/javascript" src="/skin/js/jquery_menu.js"></script>
<script language="JavaScript" type="text/javascript" src="/skin/js/fv_onblur.js"></script>
<script language="JavaScript" type="text/javascript" src="/skin/js/jquery.jbox-2.3.min.js"></script>
<meta http-equiv="mobile-agent" content="format=xhtml;url={dede:global.cfg_mobileurl/}/list.php?tid={dede:field.id/}">
<script type="text/javascript">if(window.location.toString().indexOf('pref=padindex') != -1){}else{if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.location.href.indexOf("?mobile")<0){try{if(/Android|Windows Phone|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)){window.location.href="{dede:global.cfg_mobileurl/}/list.php?tid={dede:field.id/}";}else if(/iPad/i.test(navigator.userAgent)){}else{}}catch(e){}}}}</script>
</head>
<body>
<div id="warp_sub"> {dede:include filename="head.htm"/}
  <div id="container"> {dede:include filename="left.htm"/}
    <div id="right">
      <div class="right_title">
        <h4>{dede:field name='typename'/}</h4>
        <p>当前位置：{dede:field name='position'/}</p>
      </div>
      <div class="right_box">
        <div class="message">
          <form action="/plus/diy.php" enctype="multipart/form-data" method="post">
            <input type="hidden" name="action" value="post" />
            <input type="hidden" name="diyid" value="1" />
            <input type="hidden" name="do" value="2" />
            <ul>
              <li>
                <p class="message_title"><span class="c_red">* </span>姓名：</p>
                <p class="message_content">
                  <input type="text" name="name" id="name" size="30" />
                </p>
                <span class="errMsg" id="errMsg_nickname"></span> </li>
              <li>
                <p class="message_title"><span class="c_red">* </span>联系电话：</p>
                <p class="message_content">
                  <input type="text" name="tel" size="30" id="tel"  />
                </p>
                <span class="errMsg" id="errMsg_telephone"></span> </li>
              <li>
                <p class="message_title">邮箱地址：</p>
                <p class="message_content">
                  <input name="email" type="text" id="email" size="30"/>
                  <span class="errMsg" id="errMsg_email"></span></p>
              </li>
              <li class="contentb">
                <p class="message_title"><span class="c_red">* </span>留言内容：</p>
                <p class="message_content">
                  <textarea name="content" id="content" ></textarea>
                </p>
                <span class="errMsg" id="errMsg_content"></span> </li>
              <input type="hidden" name="dede_fields" value="name,text;tel,text;email,text;content,text" />
              <input type="hidden" name="dede_fieldshash" value="f2737eb14ddce24d851552bf7cecbd49" />
              <li class="yzm">
                <p class="message_sub">
                  <button type="submit" id="tj"><img src="/skin/images/book_sub.jpg" width="106" height="36"></button>
                </p>
              </li>
            </ul>
          </form>
        </div>
      </div>
      <b class="right_boot"></b> </div>
  </div>
</div>
{dede:include filename="footer.htm"/}
</div>
<script>
	$(function(){
		$('#tj').click(function(){
			if($('#name').val()==''){alert('请输入姓名！');return false;}
			if($('#tel').val()==''){alert('请输入电话！');return false;}
			if($('#content').val()==''){alert('请输入内容！');return false;}
		})
	})
</script>
</body>
</html>
